from django.contrib import admin

from wake_main.models import UserMac


# Register your models here.

class UserMacAdmin(admin.ModelAdmin):
    search_fields = ['name', 'mac']
    list_display = ['name', 'mac', 'need_wake']
    list_filter = ['need_wake']
    list_editable = ['need_wake']


admin.site.register(UserMac, UserMacAdmin)
